﻿
using System;
namespace Inovout.Component
{
    public interface IComponentResolver : IDisposable
    {
        IComponentResolver BeginLifetimeScope();
        bool IsRegistered<TService>();
        bool IsRegistered(Type serviceType);
        object Resolve(Type serviceType);
        TService Resolve<TService>(Type serviceType);
        TService Resolve<TService>();
    }
}
